package com.whmnx.city.ui.fragment;

import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.ViewGroup;

import androidx.annotation.Nullable;

import com.alibaba.android.arouter.facade.annotation.Route;
import com.whmnx.base.router.RouterFragmentPath;
import com.whmnx.city.BR;
import com.whmnx.city.R;
import com.whmnx.city.databinding.FragmentCityBinding;
import com.whmnx.city.ui.model.CityModel;

import me.goldze.mvvmhabit.base.BaseFragment;

/**
 * author : huang
 * date   : 2020/9/23 0023 19:41
 * version: 1.0
 * @author Administrator
 */
@Route(path = RouterFragmentPath.City.PAGER_WORK)
public class CityFragment extends BaseFragment<FragmentCityBinding, CityModel> {
    @Override
    public int initContentView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
        return R.layout.fragment_city;
    }

    @Override
    public int initVariableId() {
        return BR.viewModel;
    }
}
